﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DoorControl
{
    public class Alarm : IAlarm
    {
        public bool AlarmSounded { get; set; }
        public void SoundAlarm()
        {
            AlarmSounded = true;
        }
    }
}
